package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 荣誉类型对象 glory_type
 *
 * @author 王清江
 * @date 2021-01-29
 */
public class GloryType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 荣誉类型 */
    private Long gloryTypeId;

    /** 荣誉类型名称 */
    @Excel(name = "荣誉类型名称")
    private String gloryTypeName;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 荣誉数据信息 */
    private List<GloryData> gloryDataList;

    public void setGloryTypeId(Long gloryTypeId)
    {
        this.gloryTypeId = gloryTypeId;
    }

    public Long getGloryTypeId()
    {
        return gloryTypeId;
    }
    public void setGloryTypeName(String gloryTypeName)
    {
        this.gloryTypeName = gloryTypeName;
    }

    public String getGloryTypeName()
    {
        return gloryTypeName;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    public List<GloryData> getGloryDataList()
    {
        return gloryDataList;
    }

    public void setGloryDataList(List<GloryData> gloryDataList)
    {
        this.gloryDataList = gloryDataList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("gloryTypeId", getGloryTypeId())
            .append("gloryTypeName", getGloryTypeName())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("gloryDataList", getGloryDataList())
            .toString();
    }
}
